/*
 * Pyp.java
 * 
 * Generado Automaticamente .
 * Tecnologo. Ferney Jimenez Lopez 
 * Ing. Luis Miguel Hernández Pérez
 */
package healthmanager.modelo.bean;

import healthmanager.modelo.util.Paquete;
import java.io.Serializable;
import java.sql.*;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import org.apache.ibatis.type.Alias;

@Alias("pyp")
@Paquete("healthmanager.modelo.dao.PypDao")
public class Pyp implements Serializable {

    /**
     * ************ ATRIBUTOS *************
     */
    private String codigo;
    private String nombre;
    private Timestamp creacion_date;
    private Timestamp ultimo_update;
    private Timestamp delete_date;
    private String creacion_user;
    private String ultimo_user;
    private String delete_user;

    /**
     * * Constructor Por Defecto **
     */
    public Pyp() {
    }

    /**
     * * Sobre carga de Constructor **
     */
    public Pyp(
            String codigo,
            String nombre,
            Timestamp creacion_date,
            Timestamp ultimo_update,
            Timestamp delete_date,
            String creacion_user,
            String ultimo_user,
            String delete_user) {
        this.codigo = codigo;
        this.nombre = nombre;
        this.creacion_date = creacion_date;
        this.ultimo_update = ultimo_update;
        this.delete_date = delete_date;
        this.creacion_user = creacion_user;
        this.ultimo_user = ultimo_user;
        this.delete_user = delete_user;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }

    /**
     * ************ METODOS SET ***************
     */

    public void setCodigo(String codigo) {
        this.codigo = codigo;
    }

    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    public void setCreacion_date(Timestamp creacion_date) {
        this.creacion_date = creacion_date;
    }

    public void setUltimo_update(Timestamp ultimo_update) {
        this.ultimo_update = ultimo_update;
    }

    public void setDelete_date(Timestamp delete_date) {
        this.delete_date = delete_date;
    }

    public void setCreacion_user(String creacion_user) {
        this.creacion_user = creacion_user;
    }

    public void setUltimo_user(String ultimo_user) {
        this.ultimo_user = ultimo_user;
    }

    public void setDelete_user(String delete_user) {
        this.delete_user = delete_user;
    }

    /**
     * ************ METODOS GET *************
     */

    public String getCodigo() {
        return codigo;
    }

    public String getNombre() {
        return nombre;
    }

    public Timestamp getCreacion_date() {
        return creacion_date;
    }

    public Timestamp getUltimo_update() {
        return ultimo_update;
    }

    public Timestamp getDelete_date() {
        return delete_date;
    }

    public String getCreacion_user() {
        return creacion_user;
    }

    public String getUltimo_user() {
        return ultimo_user;
    }

    public String getDelete_user() {
        return delete_user;
    }
}
